package com.wanqing.community.bean;

import java.util.List;

/**
 * 部门信息的实体类
 * Copyright 2014 
 * All right reserved.
 * @version 
 * Company 
 */
public class DepartmentBean implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;
	
	private String pid;
	//父节点部门名称
	private String parentOrgName;
	
	private String orgName;
	
	private String orgCode;
	
	private boolean dleaf;
	
	private int seqnum;
	//负责人
	private String orgManagerId;
	private String managerName;
	
	private DepartmentBean parent;
	
	private List<DepartmentBean> childrens;	
	//组织性质
	private int orgNature;
	//备注
	private String orgMemo;
	
	public DepartmentBean getParent() {
		return parent;
	}

	public void setParent(DepartmentBean parent) {
		this.parent = parent;
	}

	public List<DepartmentBean> getChildrens() {
		return childrens;
	}

	public void setChildrens(List<DepartmentBean> childrens) {
		this.childrens = childrens;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public boolean isDleaf() {
		return dleaf;
	}

	public void setDleaf(boolean dleaf) {
		this.dleaf = dleaf;
	}

	public int getSeqnum() {
		return seqnum;
	}

	public void setSeqnum(int seqnum) {
		this.seqnum = seqnum;
	}
	
	public String getOrgManagerId() {
		return orgManagerId;
	}

	public void setOrgManagerId(String orgManagerId) {
		this.orgManagerId = orgManagerId;
	}

	public int getOrgNature() {
		return orgNature;
	}

	public void setOrgNature(int orgNature) {
		this.orgNature = orgNature;
	}

	public String getOrgMemo() {
		return orgMemo;
	}

	public void setOrgMemo(String orgMemo) {
		this.orgMemo = orgMemo;
	}

	public String getManagerName() {
		return managerName;
	}

	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}

	public String getParentOrgName() {
		return parentOrgName;
	}

	public void setParentOrgName(String parentOrgName) {
		this.parentOrgName = parentOrgName;
	}
}
